package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class ShowList<T> implements Serializable {
    @SerializedName(value = "number", alternate = {"num", "amount", "quantities"})
    private String number;
    @SerializedName("unit")
    private String unit;
    @SerializedName(value = "name", alternate = {"item"})
    private String name;
    @SerializedName(value = "spec")
    private String spec;
    @SerializedName("minPrice")
    private String minPrice;

    public String getNumber() {
        return TextUtils.isEmpty(number) ? "" : number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(String minPrice) {
        this.minPrice = minPrice;
    }
}
